package com.MLC.service.impl;

import com.MLC.entity.Consultant;
import com.MLC.repository.ConsultantRepository;
import com.MLC.service.ConsultantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class ConsultantServiceImpl implements ConsultantService {
    @Autowired
    private ConsultantRepository consultantRepository;
    @Override

    public void saveConsultant(Consultant consultant) {
        consultantRepository.save(consultant);
    }
}
